def T1(x, y):
    increat = 0
    if x > y:
        increat = x
    elif x < y:
        increat = y
    else:
        return x
    while increat:
        if increat % x == 0 and increat % y == 0:
            return increat
        else:
            increat += 1
try:
    n1 = int(input('输入第一个整数：'))
    n2 = int(input('输入第二个整数：'))
    if n1 <= 0 or n2 <= 0:
        print('输出整数应该大于等于0')
    else:
        print('%d和%d的最小公倍数是%d'%(n1,n2,T1(n1,n2)))
except:
    print('输出数出错！')